#ifndef SIMPLE_OBJ_FACTORY_ORZ
#define SIMPLE_OBJ_FACTORY_ORZ

#include "../object/rpg_object.h"

template<typename T>
class SIMPLE_OBJ_FACTORY
{
	static T entity;
public:
	static RPG_Object* randomCreate(){return entity.randomCreate();}
	static RPG_Object* Create(){return entity.create();}
};

template<typename T>
T SIMPLE_OBJ_FACTORY<T>::entity;

#endif